Cocktail Help Reference
Invoked Event
See Also  Send Feedback
Cocktail Assembly > Cocktail Namespace > DialogUICommand<T> Class : Invoked Event



Glossary Item Box

Event triggerd when the UI command is being invoked.

Syntax

Visual Basic (Declaration) 
Public Shadows Event Invoked As EventHandler(Of DialogUICommandInvokedArgs)
Visual Basic (Usage)Copy Code
Dim instance As DialogUICommand(Of T)
Dim handler As EventHandler(Of DialogUICommandInvokedArgs)
 
AddHandler instance.Invoked, handler
C# 
public new event EventHandler<DialogUICommandInvokedArgs> Invoked
C++/CLI 
public:
new event EventHandler<DialogUICommandInvokedArgs^>^ Invoked

Event Data

The event handler receives an argument of type DialogUICommandInvokedArgs containing data related to this event. The following DialogUICommandInvokedArgs properties provide information specific to this event.

PropertyDescription
Cancelled (Inherited from Cocktail.UICommandInvokedArgs)True if the command was cancelled.
Command (Inherited from Cocktail.UICommandInvokedArgs)Gets the invoked command.
DialogHost Returns the dialog host associated with the command.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.